package com.ruoyi.teach.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务关联学生对象 sch_task_student
 * 
 * @author ruoyi
 * @date 2021-12-08
 */
public class SchTaskStudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关联ID */
    private Long tsId;

    /** 任务ID */
    @Excel(name = "任务ID")
    private String tId;

    /** 学生ID */
    @Excel(name = "学生ID")
    private String sId;

    /** 答案 */
    @Excel(name = "答案")
    private String answer;

    /** 状态;0 未提交 1 已提交 */
    @Excel(name = "状态;0 未提交 1 已提交")
    private Long status;

    public void setTsId(Long tsId) 
    {
        this.tsId = tsId;
    }

    public Long getTsId() 
    {
        return tsId;
    }
    public void settId(String tId) 
    {
        this.tId = tId;
    }

    public String gettId() 
    {
        return tId;
    }
    public void setsId(String sId) 
    {
        this.sId = sId;
    }

    public String getsId() 
    {
        return sId;
    }
    public void setAnswer(String answer) 
    {
        this.answer = answer;
    }

    public String getAnswer() 
    {
        return answer;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tsId", getTsId())
            .append("tId", gettId())
            .append("sId", getsId())
            .append("answer", getAnswer())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
